﻿<div class="select">
    <span class="select-border js-select2">
        <input class="select-text" type="text" readonly placeholder="" ng-model="text" ng-disabled="disabled" />
        <span class="select-icon"><i class="select-icon-arrow"></i></span>
    </span>
    <div class="select-sub">
        <a href="javascript:void(0);" ng-repeat="record in data">
            <div class="checkbox">
                <input type="checkbox" id="c_{{record[valueField]}}"
                       ng-change="checkChanged(record)"
                       ng-model="record.checked">
                <label for="c_{{record[valueField]}}" ng-bind="record[textField]"></label>
            </div>
        </a>
    </div>
</div>